package com.generator.common;

public enum CodeMsg {
    CODE_SUCCESS(200, "操作成功"),
    WXCERTUPLOAD_ERR(70002, "请上传cert文件!"),
    REQ_PARAM_CANNOT_EMPTY(10004, "必要的请求参数不能为空"),

    LAST_ONE(111111,"这是最后一个");

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    // 状态码
    private Integer code;
    // 返回消息
    private String message;

    // 构造方法
    private CodeMsg(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
